package com.study.java.service;

import com.study.java.domain.User;

/**
* @Name: UserService
* @Description: 用户信息操作Service接口
* @Author: XXX
* @CreateDate: XXX
* @Version: V1.0
 */
public interface UserService {
	
	/**
	* @Name: login
	* @Description: 登录操作
	* @Author: XXX
	* @Version: V1.0
	* @CreateDate: XXX
	* @Parameters: @param username
	* @Parameters: @param password
	* @Return: User
	 */
	User login(String username, String password) ;
	
	/**
	* @Name: register
	* @Description: 注册操作
	* @Author: XXX
	* @Version: V1.0
	* @CreateDate: 2017-3-10 上午10:16:16
	* @Parameters: @param user
	* @Return: boolean
	 */
	boolean register(User user) ;

}
